import request from '@/utils/request';
// 品牌管理列表
export const brandList = params => request({
    url: '/brand/list',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 品牌管理添加
export const brandAdd = params => request({
    url: '/brand/add',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 品牌管理修改
export const brandUpdate = params => request({
    url: '/brand/update',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 品牌管理修改
export const brandDel = params => request({
    url: '/brand/del',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 下拉列表
export const brandPullList = params => request({
    url: '/brand/pull/list',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});

export const dictionary = params => request({
    url: '/admin/CustomerDict/dict',
    method: 'GET',
    params
}).then(({ data }) => {
    return data;
}); // 直/经字典接口
